projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7704b6b
)
(Fmove_to_column): Set next_boundary with correct start pt.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 8 Apr 2007 23:59:33 +0000
(23:59 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 8 Apr 2007 23:59:33 +0000
(23:59 +0000)
src/ChangeLog
patch
|
blob
|
history
src/indent.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index a28f3c45f2fefeca790eeaa39c3a1ac4ae9633b4..0f446131c3fe85ee901450fe44c61b8a7dfbbbc4 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2007-04-09 Martin Rudalics <rudalics@gmx.at>
+
+ * indent.c (Fmove_to_column): Set next_boundary with correct start pt.
+
2007-04-08 Richard Stallman <rms@gnu.org>
* xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.
diff --git
a/src/indent.c
b/src/indent.c
index 828267c3abfb9ba96d5fd877ca86de6d20b6b3e2..b43120ab560f5733859d40cbdadcb0cb1f089b78 100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-951,7
+951,6
@@
The return value is the current column. */)
pos = PT;
pos_byte = PT_BYTE;
end = ZV;
- next_boundary = pos;
/* If we're starting past the desired column,
back up to beginning of line and scan from there. */
@@
-963,6
+962,8
@@
The return value is the current column. */)
col = 0;
}
+ next_boundary = pos;
+
while (pos < end)
{
while (pos == next_boundary)